package com.example.recordingpen_datacollection.entity.Vo;

import com.example.recordingpen_datacollection.Utils.String.StringUtils;
import lombok.Data;

@Data
public class LimitDosageVo {
    private Integer devId;
    private Integer Limit;
    private String endTime;


    public boolean isAtLeastOneMemberNotNull() {
        return (this.Limit != null && this.Limit >0) || (StringUtils.isNotEmpty(this.endTime));
    }
}
